<?php

require_once ('CoreTagWithLang.php');

class Deletion extends CoreTagWithLang{
    protected $cite;
    protected $datetime;

    public function __construct()
    {
        parent::__construct("del");
        $this->cite="";
        $this->datetime="";
        $this->attributeNames=array_merge($this->attributeNames,array('cite','datetime'));
        $this->attributeValues=array_merge($this->attributeValues,array('',''));
    }

    public function setCite($_cite)
    {
        $this->cite=(string)$_cite;
        $this->setAttributeValue('cite', $_cite);
    }

    public function getCite()
    {
        return $this->cite;
    }

    public function setDateTime($_datetime)
    {
        $this->datetime=(string)$_datetime;
        $this->setAttributeValue('datetime',$_datetime);
    }

    public function getDateTime()
    {
        return $this->datetime;
    }
}
?>
